Platform Explorer / Nuxeo Platform 2023.14

Operation Document.GetLastVersion (Get Last version)

Description

Returns the last version of the document if it exists.
Operation id Document.GetLastVersion
AliasesDocument.GetLastVersion
Category Document
Label Get Last version
Requires
Since

Parameters

No parameters.

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.GetLastDocumentVersion
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.GetLastVersion",
  "aliases" : [ "Document.GetLastVersion" ],
  "label" : "Get Last version",
  "category" : "Document",
  "requires" : null,
  "description" : "Returns the last version of the document if it exists.",
  "url" : "Document.GetLastVersion",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ ]
}